package com.qzsoft.system.modules.permission.rolebusiness.dto;

import com.qzsoft.jeemis.common.utils.TreeNode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;


/**
 * 角色目录
 *
 * @author sdmq
 * @since 2019-10-08 15:59:29
 */
@ApiModel(value = "")
@Data
@EqualsAndHashCode(callSuper = false)
public class SysRoleBusinessDTO extends TreeNode<SysRoleBusinessDTO> implements Serializable {
	private static final long serialVersionUID = 157614727335279071L;

	/**
	 *id主键
	 */
	@ApiModelProperty(value = "id主键")
	private String id;

	/**
	 *code编码
	 */
	@ApiModelProperty(value = "code三位步长")
	private String code;
	/**
	 *角色名称
	 */
	@ApiModelProperty(value = "角色名称")
	private String name;
	/**
	 *父节点
	 */
	@ApiModelProperty(value = "父节点")
	private String pid;
	/**
	 *0分组 1角色
	 */
	@ApiModelProperty(value = "节点类型")
	private Boolean hasGroup;
	/**
	 *备注
	 */
	@ApiModelProperty(value = "备注")
	private String remark;
	/**
	 *是否系统内置角色
	 */
	@ApiModelProperty(value = "是否系统内置角色")
	private Boolean hasSystem;
	/**
	 *简拼
	 */
	@ApiModelProperty(value = "简拼")
	private String spell;
	/**
	 *拼音
	 */
	@ApiModelProperty(value = "拼音")
	private String pinyin;
}